package jnpf.service;

import jnpf.mapper.ActivedMapper;
import jnpf.model.actived.dto.ActivedDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ActivedService {

    @Autowired
    private ActivedMapper activedMapper;

    public boolean activedVerId(ActivedDTO activedDTO) {
        Integer result = activedMapper.activedVerId(activedDTO);
        boolean flag = false;
        if (result == 1) {
            flag = true;
        }
        return flag;
    }
}
